package com.element.music.repository.entity.collection;

import com.element.music.repository.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 功能描述：
 * <p>
 * User: nft musician developer
 * Date: 2022/1/11
 */


@AllArgsConstructor
@NoArgsConstructor
@Data
@Table(name = "collection")
@Builder
@Entity(name = "CollectionEntity")
public class CollectionEntity extends BaseEntity implements Serializable {

    /**
     * 描述
     */
    @Column(nullable = false)
    private String description;

    /**
     * 网页
     */
    @Column(nullable = false)
    private String website;

    /**
     * twitter地址
     */
    private String twitter;

    /**
     * 区块链
     */
    private String openSea;

    /**
     * 智能合约地址
     */
    private String contractAddress;

}
